#ifndef _MOTOR_CONTROL_H
#define _MOTOR_CONTROL_H
#include "stdint.h"
typedef struct
{
	float duty_cycle;
	uint16_t period_value;
	uint16_t pulse_value;
}Control_Pulse_t;

typedef struct
{
	uint8_t            Dir;
	Control_Pulse_t    pulse;
}Motor_Control_t;
void MotorControl_Init(void);    //用户PWM控制输入
#endif
